package com.timoon.component.behavior.jbox;

import org.apache.wicket.request.resource.CssResourceReference;
import org.apache.wicket.request.resource.JavaScriptResourceReference;

import com.googlecode.wicket.jquery.ui.JQueryBehavior;
import com.googlecode.wicket.jquery.ui.Options;

public class AbstractJboxBehavior extends JQueryBehavior {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6496504622621209847L;

	public AbstractJboxBehavior(String selector, String method, Options options) {
		super(selector, method, options);
		// TODO Auto-generated constructor stub
		
		this.add(new JavaScriptResourceReference(AbstractJboxBehavior.class, "jquery.jBox-2.3.min.js"));
		this.add(new JavaScriptResourceReference(AbstractJboxBehavior.class, "jquery.jBox-zh-CN.js"));
		this.add(new JavaScriptResourceReference(AbstractJboxBehavior.class, "myjbox.js"));
		this.add(new CssResourceReference(AbstractJboxBehavior.class, "jbox.css"));
	}

}
